package com.gx.model.dto.task;

import com.alibaba.fastjson.JSONObject;
import com.gx.model.dto.common.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * @ClassName StartFlowTaskInfoDto
 * @Author lpj
 * @Date 2022/5/23 17:30
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("实例启动参数")
public class StartFlowTaskInfoDto extends BaseDto {
    @ApiModelProperty(value = "定义id",required = true)
    private String procDefId;
    @ApiModelProperty("变量信息")
    private Map<String, Object> variables;
    @ApiModelProperty("启动人昵称")
    private String userName;
    @ApiModelProperty("启动数据id")
    private String dataId;
    @ApiModelProperty("启动表单标识")
    private String businessKey;
    @ApiModelProperty("其他信息[例如数据信息]")
    private JSONObject extra;
}
